//
//  yuv-convert.h
//  FFMPEG-Serial-Demo
//
//  Created by aron on 2017/12/27.
//  Copyright © 2017年 aron. All rights reserved.
//

#ifndef yuv_convert_h
#define yuv_convert_h

#include <stdio.h>

/**
 * Split Y, U, V planes in YUV420P file.
 * @param url  Location of Input YUV file.
 * @param w    Width of Input YUV file.
 * @param h    Height of Input YUV file.
 * @param num  Number of frames to process.
 *
 */
int simplest_yuv420_split(char *url, int w, int h,int num);

#endif /* yuv_convert_h */
